package com.msa.msaportal.service.impl;

import java.util.List;

import com.msa.msaportal.dao.IUserComponentDao;
import com.msa.msaportal.dao.IUserTileDao;
import com.msa.msaportal.entity.UserComponent;
import com.msa.msaportal.entity.UserTile;
import com.msa.msaportal.service.IUserComponentService;

public class UserComponentServiceImpl implements IUserComponentService {

	
	private IUserComponentDao userComponentDao;
	

	public IUserComponentDao getUserComponentDao() {
		return userComponentDao;
	}

	public void setUserComponentDao(IUserComponentDao userComponentDao) {
		this.userComponentDao = userComponentDao;
	}

	@Override
	public List<UserComponent> getUserComponents(String userId) {
		// TODO Auto-generated method stub
		return userComponentDao.getUserComponents(userId);
	}

	@Override
	public void insertUserComponent(UserComponent userComponent) {
		// TODO Auto-generated method stub
		userComponentDao.insertUserComponent(userComponent);
	}

	@Override
	public void deleteUserComponent(UserComponent userComponent) {
		// TODO Auto-generated method stub
		userComponentDao.deleteUserComponent(userComponent);
	}
	

}
